package com.example.policymode6;

/**
 * @version 1.0.0
 * @className: Test
 * @description:
 * @author: zhangjunfa
 * @date: 2023/1/3 14:11
 */
public class Test {
    public static void main(String[] args) {
        Order order = new Order("001","皮皮虾",500.5);
        System.out.println(order.pay());
        System.out.println("----------------------------------------------------");
        System.out.println(order.pay(PayStrategy.WECHAT_PAY));
    }
}
